package com.usian.mapper;

import com.usian.pojo.DTO;
import com.usian.pojo.Staff;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;


public interface CompanyMapper extends Mapper<Staff> {

    List<DTO> findAll();

    Staff findById(Integer sid);

    List<Staff> findByBid(Integer bid);

    Staff findByName(String sname);

    List<DTO> ById(Integer bid);
}
